home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Applications 2004 April / SGI IRIX 6.5 Applications 2004 April.iso / dist / mozilla.idb / var / netscape / mozilla / chrome / comm.jar.z / comm.jar / content / p3p / p3pSummary.xul < prev    next >
Extensible Markup Language  |  2003-11-11  |  7KB  |  158 lines

  1. <?xml version="1.0"?>
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3.    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4.    -
  5.    - The contents of this file are subject to the Mozilla Public License Version
  6.    - 1.1 (the "License"); you may not use this file except in compliance with
  7.    - the License. You may obtain a copy of the License at
  8.    - http://www.mozilla.org/MPL/
  9.    -
  10.    - Software distributed under the License is distributed on an "AS IS" basis,
  11.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.    - for the specific language governing rights and limitations under the
  13.    - License.
  14.    -
  15.    - The Original Code is the Platform for Privacy Preferences.
  16.    -
  17.    - The Initial Developer of the Original Code is
  18.    - Netscape Communications Corporation.
  19.    - Portions created by the Initial Developer are Copyright (C) 2002
  20.    - the Initial Developer. All Rights Reserved.
  21.    -
  22.    - Contributor(s): Samir Gehani <sgehani@netscape.com>
  23.    -                 Harish Dhurvasula <harishd@netscape.com>
  24.    -
  25.    - Alternatively, the contents of this file may be used under the terms of
  26.    - either the GNU General Public License Version 2 or later (the "GPL"), or
  27.    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  28.    - in which case the provisions of the GPL or the LGPL are applicable instead
  29.    - of those above. If you wish to allow use of your version of this file only
  30.    - under the terms of either the GPL or the LGPL, and not to allow others to
  31.    - use your version of this file under the terms of the MPL, indicate your
  32.    - decision by deleting the provisions above and replace them with the notice
  33.    - and other provisions required by the LGPL or the GPL. If you do not delete
  34.    - the provisions above, a recipient may use your version of this file under
  35.    - the terms of any one of the MPL, the GPL or the LGPL.
  36.    -
  37.    - ***** END LICENSE BLOCK ***** -->
  38.  
  39. <?xul-overlay href="chrome://navigator/content/navigatorOverlay.xul"?>
  40.  
  41. <!DOCTYPE window [
  42.  <!ENTITY % navigatorDTD SYSTEM "chrome://navigator/locale/navigator.dtd" >
  43.  %navigatorDTD;
  44.  <!ENTITY % contentAreaCommandsDTD SYSTEM "chrome://communicator/locale/contentAreaCommands.dtd" >
  45.  %contentAreaCommandsDTD;
  46. ]>
  47.  
  48. <window id="p3p-summary"
  49.         width="640" 
  50.         height="480"
  51.         screenX="10" 
  52.         screenY="10"
  53.         persist="screenX screenY width height sizemode"
  54.         flex="1"
  55.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  56.         onload="renderMachineReadable();">
  57.  
  58.   <script type="application/x-javascript" src="chrome://p3p/content/p3pSummary.js"/>
  59.   <script type="application/x-javascript" src="chrome://communicator/content/p3p/nsPolicyViewer.js"/>
  60.   <script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
  61.   <script type="application/x-javascript" src="chrome://communicator/content/contentAreaDD.js"/>
  62.   <script type="application/x-javascript" src="chrome://navigator/content/browser.js"/>
  63.   <script type="application/x-javascript" src="chrome://communicator/content/findUtils.js"/>
  64.   <script type="application/x-javascript" src="chrome://communicator/content/contentAreaUtils.js"/>
  65.   <script type="application/x-javascript" src="chrome://communicator/content/contentAreaClick.js"/>
  66.  
  67.   <commandset id="commands">
  68.     <commandset id="globalEditMenuItems"/>
  69.     <commandset id="selectEditMenuItems"/>
  70.     <commandset id="clipboardEditMenuItems"/>
  71.     <commandset id="p3pSummaryMenuItems">
  72.       <command id="cmd_close" oncommand="window.close();"/>
  73.       <command id="cmd_savePage" oncommand="p3pSummarySavePage();"/>
  74.     </commandset>
  75.   </commandset>
  76.     
  77.   <stringbundleset id="stringbundleset">
  78.     <stringbundle id="findBundle" src="chrome://global/locale/finddialog.properties"/>
  79.   </stringbundleset>
  80.  
  81.   <!-- keys are appended from the overlay -->
  82.   <keyset id="p3pSummaryKeys">
  83.     <!-- File Menu -->
  84.     <key id="key_newNavigator"/>
  85.     <key id="key_newBlankPage"/>
  86.     <key id="key_savePage" key="&savePageCmd.commandkey;" command="cmd_savePage" modifiers="accel"/>
  87.     <key id="printKb" key="&printCmd.commandkey;" command="Browser:Print" modifiers="accel"/>
  88.     <key id="key_close"/>
  89.  
  90.     <!-- Edit Menu -->
  91.     <key id="key_selectAll"/>
  92.     <key id="key_find" key="&findOnCmd.commandkey;" command="Browser:Find" modifiers="accel"/>
  93.     <key id="key_findAgain" key="&findAgainCmd.commandkey;" command="Browser:FindAgain" modifiers="accel"/>
  94.     
  95.     <!-- View Menu -->
  96.     <keyset id="viewZoomKeys"/>
  97.   </keyset>
  98.  
  99.   <!-- context menu -->
  100.   <popupset id="p3pSummaryContextSet">
  101.     <popup id="contentAreaContextMenu"/><!-- XXX Silly hack to quiet mailNavigatorOverlay.xul warning -->
  102.   </popupset>
  103.  
  104.   <!-- Menu --> 
  105.   <toolbox>
  106.     <menubar id="nav-bar">
  107.       <menu id="menu_File">
  108.         <menupopup id="filemenu-popup">
  109.           <menuitem label="&browserCmd.label;" accesskey="&browserCmd.accesskey;" key="key_newNavigator" command="cmd_newNavigator"/>
  110.           <menu id="menu_New">
  111.             <menupopup id="menu_NewPopup">
  112.               <menuitem id="menu_newNavigator" command="cmd_newNavigator"/>
  113.               <menuitem id="menu_newEditor" command="cmd_newEditor"/>
  114.             </menupopup>
  115.           </menu>
  116.           <menuseparator/>
  117.           <menuitem label="&savePageCmd.label;" accesskey="&savePageCmd.accesskey;" key="key_savePage" command="cmd_savePage"/>
  118.           <menuseparator/>
  119.           <menuitem label="&printCmd.label;" accesskey="&printCmd.accesskey;" key="printKb" command="Browser:Print"/>     
  120.           <menuseparator/>
  121.           <menuitem id="menu_close"/>
  122.         </menupopup>
  123.       </menu>
  124.  
  125.       <menu id="menu_Edit">
  126.         <menupopup>
  127.           <menuitem id="menu_undo"/>   
  128.           <menuitem id="menu_redo"/>
  129.           <menuseparator/>
  130.           <menuitem id="menu_cut"/>
  131.           <menuitem id="menu_copy"/>
  132.           <menuitem id="menu_paste"/>
  133.           <menuitem id="menu_delete"/>
  134.           <menuseparator/>
  135.           <menuitem id="menu_selectAll"/>
  136.           <menuseparator /> 
  137.           <menuitem id="menu_find" label="&findOnCmd.label;" accesskey="&findOnCmd.accesskey;" key="key_find" command="Browser:Find"/>
  138.           <menuitem id="menu_findAgain" label="&findAgainCmd.label;" accesskey="&findAgainCmd.accesskey;" key="key_findAgain" command="Browser:FindAgain"/>
  139.         </menupopup>
  140.       </menu>
  141.      
  142.       <menu id="menu_View" accesskey="&viewMenu.accesskey;" label="&viewMenu.label;">
  143.         <menupopup>
  144.           <menu id="menu_textZoom"/>  
  145.         </menupopup>
  146.       </menu>
  147.  
  148.       <menu id="menu_Help"/>
  149.     </menubar>  
  150.   </toolbox>
  151.   
  152.   <vbox id="appcontent" flex="1" ondragdrop="nsDragAndDrop.drop(event, contentAreaDNDObserver);">
  153.     <browser type="content-primary" id="content" flex="1"
  154.              onclick="captureContentClick(event);"/>
  155.   </vbox>
  156.   
  157. </window>
  158.